package com.internship.service;

public class Const {
	//User role
	public static final int ROLE_SITE_ADMIN = 1;
	public static final int ROLE_SCH_ADMIN = 2;
	public static final int ROLE_DEPT_ADMIN = 3;
	public static final int ROLE_TEACHER = 4;
	public static final int ROLE_ENTERPRISE = 5;
	public static final int ROLE_STUDENT = 6;
	
	public static final String ROLE_SCH_SITE_NAME = "系统管理员";
	public static final String ROLE_SCH_ADMIN_NAME = "学校管理员";
	public static final String ROLE_DEPT_ADMIN_NAME = "院系管理员";
	public static final String ROLE_TEACHER_NAME = "指导教师";//学校
	public static final String ROLE_ENTERPRISE_TEACHER = "指导教师";//企业
	public static final String ROLE_STUDENT_NAME = "学生";
	
	public static final String USER_ROLE_NAME = "userRoleName";
	
    public final static String SESSION_ACCOUNT = "admin_account";
  /*  public final static String SESSION_TEACHER_ZGH = "teacher_zgh";
    public final static String SESSION_STU_XH = "stu_xh";*/
	public static final String USER_ROLE = "userRole";
    public static final String USER_NAME = "userName"; //teacher Name or student Name
	public static final String USER_SEX = "userSex";
	public static final String USER_CLASSINFO = "userClassInfo";
	public static final String USER_PHONE = "userPhone";
	public static final String USER_ADDRESS = "userAddess";
	public static final String GRADE = "grade";
	public static final String USER_DEPARTMENT_NAME = "departmentName";
	public static final String USER_DEPARTMENT_CODE = "departmentCode";
    public final static String SESSION_CODE = "code"; 
    
  //实习类型
  	public static final int PRACTICE_STATUS_CY = 1;//创业
  	public static final int PRACTICE_STATUS_ZSB = 2;//专升本也得实习
  	public static final int PRACTICE_STATUS_ZXQY = 3;//自寻企业实习
  	public static final int PRACTICE_STATUS_XXFP = 4;//学校分配企业
  	
  	public static final int APPROVE_0 = 0;//未审核
  	public static final int APPROVE_1 = 1;//教师审核不通过
  	public static final int APPROVE_2 = 2;//教师审核通过
  	public static final int APPROVE_3 = 3;//部门审核不通过
  	public static final int APPROVE_4 = 4;//部门审核通过
  	
  	public static final int CTEATE_TYPE_SCH = 0;
  	public static final int CTEATE_TYPE_STU = 1;
    public final static int PAGE_SIZE = 10;
    
}
